@extends('Account::auth.layout')

@section('auth-body')

    <form-auth-login
        auth-guard="{{$guard}}"
        v-on:logined="function(u,t){this.location.href = '{{route('web.auth.login-success')}}'}"
    >

    </form-auth-login>

    <div class="mt-5">
        <el-row type="flex" justify="space-between">

            @if((authService()::GetGuardProviderConfig('web','allow_mobile_reset_pass') || authService()::GetGuardProviderConfig('web','allow_email_reset_pass')) && Route::has('web.laravel-extend.services.auth.reset-pass'))
                <el-link type="text"
                         href="{{route('web.laravel-extend.services.auth.reset-pass',['guard'=>'web'])}}">
                    忘记密码 ?点此找回
                </el-link>
            @endif

            @if(authService()::GetGuardProviderConfig('web','allow_register') && Route::has('web.laravel-extend.services.auth.register'))
                <el-link type="text"
                         href="{{route('web.laravel-extend.services.auth.register',['guard'=>'web'])}}">
                    没有账号？点此注册
                </el-link>
            @endif

        </el-row>
    </div>
@endsection



